/**
 * <copyright>
 * </copyright>
 *

 */
package ms.unicorn.language.languagedef;

import org.eclipse.emf.common.util.EList;

import org.eclipse.emf.ecore.EObject;

/**
 * <!-- begin-user-doc -->
 * A representation of the model object '<em><b>Relation Constraint</b></em>'.
 * <!-- end-user-doc -->
 *
 * <p>
 * The following features are supported:
 * <ul>
 *   <li>{@link ms.unicorn.language.languagedef.RelationConstraint#isForbidden <em>Forbidden</em>}</li>
 *   <li>{@link ms.unicorn.language.languagedef.RelationConstraint#getSources <em>Sources</em>}</li>
 *   <li>{@link ms.unicorn.language.languagedef.RelationConstraint#getTargets <em>Targets</em>}</li>
 *   <li>{@link ms.unicorn.language.languagedef.RelationConstraint#getStyle <em>Style</em>}</li>
 *   <li>{@link ms.unicorn.language.languagedef.RelationConstraint#getValidators <em>Validators</em>}</li>
 * </ul>
 * </p>
 *
 * @see ms.unicorn.language.languagedef.LanguagedefPackage#getRelationConstraint()
 * @model
 * @generated
 */
public interface RelationConstraint extends EObject
{
  /**
   * Returns the value of the '<em><b>Forbidden</b></em>' attribute.
   * <!-- begin-user-doc -->
   * <p>
   * If the meaning of the '<em>Forbidden</em>' attribute isn't clear,
   * there really should be more of a description here...
   * </p>
   * <!-- end-user-doc -->
   * @return the value of the '<em>Forbidden</em>' attribute.
   * @see #setForbidden(boolean)
   * @see ms.unicorn.language.languagedef.LanguagedefPackage#getRelationConstraint_Forbidden()
   * @model
   * @generated
   */
  boolean isForbidden();

  /**
   * Sets the value of the '{@link ms.unicorn.language.languagedef.RelationConstraint#isForbidden <em>Forbidden</em>}' attribute.
   * <!-- begin-user-doc -->
   * <!-- end-user-doc -->
   * @param value the new value of the '<em>Forbidden</em>' attribute.
   * @see #isForbidden()
   * @generated
   */
  void setForbidden(boolean value);

  /**
   * Returns the value of the '<em><b>Sources</b></em>' reference list.
   * The list contents are of type {@link ms.unicorn.language.languagedef.ElementDef}.
   * <!-- begin-user-doc -->
   * <p>
   * If the meaning of the '<em>Sources</em>' reference list isn't clear,
   * there really should be more of a description here...
   * </p>
   * <!-- end-user-doc -->
   * @return the value of the '<em>Sources</em>' reference list.
   * @see ms.unicorn.language.languagedef.LanguagedefPackage#getRelationConstraint_Sources()
   * @model
   * @generated
   */
  EList<ElementDef> getSources();

  /**
   * Returns the value of the '<em><b>Targets</b></em>' reference list.
   * The list contents are of type {@link ms.unicorn.language.languagedef.ElementDef}.
   * <!-- begin-user-doc -->
   * <p>
   * If the meaning of the '<em>Targets</em>' reference list isn't clear,
   * there really should be more of a description here...
   * </p>
   * <!-- end-user-doc -->
   * @return the value of the '<em>Targets</em>' reference list.
   * @see ms.unicorn.language.languagedef.LanguagedefPackage#getRelationConstraint_Targets()
   * @model
   * @generated
   */
  EList<ElementDef> getTargets();

  /**
   * Returns the value of the '<em><b>Style</b></em>' containment reference.
   * <!-- begin-user-doc -->
   * <p>
   * If the meaning of the '<em>Style</em>' containment reference isn't clear,
   * there really should be more of a description here...
   * </p>
   * <!-- end-user-doc -->
   * @return the value of the '<em>Style</em>' containment reference.
   * @see #setStyle(XReferenceExpression)
   * @see ms.unicorn.language.languagedef.LanguagedefPackage#getRelationConstraint_Style()
   * @model containment="true"
   * @generated
   */
  XReferenceExpression getStyle();

  /**
   * Sets the value of the '{@link ms.unicorn.language.languagedef.RelationConstraint#getStyle <em>Style</em>}' containment reference.
   * <!-- begin-user-doc -->
   * <!-- end-user-doc -->
   * @param value the new value of the '<em>Style</em>' containment reference.
   * @see #getStyle()
   * @generated
   */
  void setStyle(XReferenceExpression value);

  /**
   * Returns the value of the '<em><b>Validators</b></em>' containment reference list.
   * The list contents are of type {@link ms.unicorn.language.languagedef.XReferenceExpression}.
   * <!-- begin-user-doc -->
   * <p>
   * If the meaning of the '<em>Validators</em>' containment reference list isn't clear,
   * there really should be more of a description here...
   * </p>
   * <!-- end-user-doc -->
   * @return the value of the '<em>Validators</em>' containment reference list.
   * @see ms.unicorn.language.languagedef.LanguagedefPackage#getRelationConstraint_Validators()
   * @model containment="true"
   * @generated
   */
  EList<XReferenceExpression> getValidators();

} // RelationConstraint
